#!/root/.pyenv/shims/python3
#coding=utf8

find_item=input("please input you find_item:")
list_name=[1,2,3,4,"d","b"]
count=0
while count < len(list_name):
         item=list_name[count]
         if item == find_item:
             print("you find item pos is %s" %count)
         count=count+1

if find_item not in list_name:
     print("you find item is not in the list")




#-------修改之后的的--------------
#!/root/.pyenv/shims/python3
#coding=utf8

str_name=input("请输入一组数字或字符,以','分割:")
find_item=input("please input you find_item:")
list_name=str_name.split(",")
count=0
while count < len(list_name):
         item=list_name[count]
         if item == find_item:
             print("you find item pos is %s" %count)
         count=count+1

if find_item not in list_name:
     print("you find item is not in the list")